<%-- 
    Document   : AdminDashboard
    Created on : Feb 22, 2014, 10:39:07 AM
    Author     : Mukesh
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%
    try {
        if (session.getAttribute("uid") != null) {
            if (session.getAttribute("Database").toString().equals("1")) {
%>
<html>
    <head>
        <title>Ramgovind Automated System</title>

        <link rel="stylesheet" href="/RIT/css/bootstrap.css">
        <link rel="stylesheet" href="/RIT/css/bootstrap-responsive.css">
        <link rel="stylesheet" href="/RIT/css/jquery.fancybox.css">
        <link rel="stylesheet" href="/RIT/css/style.css">
        <link rel="stylesheet" href="/RIT/css/iconfont.css">
        
           
         <style>

            .footr{
                position:fixed;
                left:0px;
                bottom:0px;
                height:20px;
                width:100%;
                background:#333333;
            }
            * html .footer {
                position:absolute;
                top:expression((0-(footer.offsetHeight)+(document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight)+(ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop))+'px');
            }
            .lbl{
                float: left;
                width: 308px;
            }
            .bubble 
            {
                position: relative;
                width: 210px;
                height: 30px;
                padding: 0px;
                background: #1E4961;
                -webkit-border-radius: 0px;
                -moz-border-radius: 0px;
                border-radius: 0px;
                transition-property: width;
                transition-duration: .3s;
                -webkit-transition-property: width; /* Safari */
                -webkit-transition-duration: .5s; /* Safari */
                text-align: center;
                font-size: 25px;
                font-weight: bold;
                margin-bottom: 15px;

            }

            .bubble:after 
            {
                content: '';
                position: absolute;
                border-style: solid;
                border-width: 15px 0 15px 10px;
                border-color: transparent #1E4961;
                display: block;
                width: 0;
                /*z-index: 1;*/
                right: -12px;
                top: 0px;
            }
            .bubble:hover{
                width:270px;
            }
            .bubble .ico{
                border-right: 1px #ffffff dashed ;
                margin: 5px 0 5px 0;
                float: left;
                margin-left: 5px;   
                margin-right: 5px;   
                /*height: 65px;*/
            }
            .bubble .ico img{
                margin: 0px 8px 0px 1px;
                width: 25px;
            }
            .desc{
                margin: 6px 0 0 10px;
                display: table-caption;
                color: white;
                font-size: 15px;
            }
        </style>
        
        
    </head>
    <body>
        <%@include file="/topheader.html" %>
        <%@include file="/settingheader.html" %>
        <div class="main">
            <div class="container-fluid">

                <%@include file="dbsidenav.html" %>
                <div class="content" style="">
                    
                   <div class="row-fluid">
                        <div class="span12">
                            <div class="box">
                               <div class="box-head">
                                   <h3 align="center">
                                       <img alt="" src="/RIT/img/setting.png" style="height:25px">
                                       Settings</h3>
                               </div>
                                <div class="box-content">
                                    
                                    
                                </div>
                            </div>
                        </div>
                   </div>
                    
                    
                	
            </div>
        </div>	
        <script src="/RIT/js/jquery.js"></script>
        <script src="/RIT/js/less.js"></script>
        <script src="/RIT/js/bootstrap.min.js"></script>
        <script src="/RIT/js/jquery.peity.js"></script>
        <script src="/RIT/js/jquery.fancybox.js"></script>
        <script src="/RIT/js/jquery.flot.js"></script>
        <script src="/RIT/js/jquery.color.js"></script>
        <script src="/RIT/js/jquery.flot.resize.js"></script>
        <script src="/RIT/js/jquery.cookie.js"></script>
        <script src="/RIT/js/jquery.cookie.js"></script>
        <script src="/RIT/js/custom.js"></script><script src="js/demo.js"></script>
        <script src="/RIT/js/iconfont.js"></script>
    </body>
</html>

<%} else {
%>
<script type="text/javascript">
    alert("You Are Not Authorised");
    window.history.back();
</script>
<%             }
        } else {
            request.setAttribute("msg", "You Are Not Authorised! Please Contact to System Administrator!");
            request.setAttribute("value", "0");
            getServletContext().getRequestDispatcher("/index.jsp").forward(request, response);
        }
    } catch (Exception e) {
        request.setAttribute("msg", "Please Contact to System Administrator!");
        request.setAttribute("value", "0");
        getServletContext().getRequestDispatcher("/index.jsp").forward(request, response);
    }
%>
